﻿using Jinjia.Approve.Model.Input.JJFlow;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Jinjia.Approve.IService.JJFlow.Action
{
    public interface IJJFlowActionPassOn
    {
        Task PassOn(PassOnRequest request, int instanceId, int userId);

        /// <summary>
        /// 审批转交
        /// </summary>
        /// <param name="instanceEmpIds">需要转交的审批列表</param>
        /// <param name="handoverUserId">转交人</param>
        /// <param name="loginUserId">当前登录id</param>
        /// <returns></returns>
        Task<bool> TransferFlowsAsync(List<int> instanceEmpIds, int handoverUserId, int loginUserId);
    }
}
